home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 1
/
Merciful - Disc 1.iso
/
software
/
h
/
hot_link_edition
/
hotlinkedition2.dms
/
hotlinkedition2.adf
/
Install-PageLiner
< prev
next >
Wrap
Text File
|
1992-02-10
|
3KB
|
97 lines
; PL Hard Drive Installation Script
; set up a error cleanup routine
(onerror
(makeassign "PLInstPgm" (safe))
)
(complete 0)
; just in case the installation was restarted
(makeassign "PLInstPgm" (safe)) ; start fresh
;wher does the user want the program installed?
(set PL_dest
(tackon
(askdir
(prompt "In which disk or drawer should PageLiner be installed?")
(help @askdir-help)
(default @default-dest)
)
"PageLiner"
)
)
; now lock on to volume 'HotLinks_Editions_Program'
(askdisk
(prompt "Please insert the disk labeled \"HotLinks_Editions_Program\" "
"into any drive."
)
(help "The PageLiner program and related files will be copied from the "
"\"HotLinks Editions Program Disk\" onto your system."
)
(dest "HotLinks_Editions_Program")
(newname "PLInstPgm")
)
; at this point we have a valid destination, so we tell installer where
; the application will end up so the exit page will be correct -- also,
; the installation log file (if any) will be copied to the destination
(set @default-dest PL_dest)
(complete 33)
(copyfiles
(prompt "This will create a new drawer called \"PageLiner\" "
"and will copy the following files and drawers."
)
(source "PLInstPgm:PageLiner")
(dest PL_dest)
(infos)
(all)
(confirm)
(help "PageLiner - is the program file.\n"
"pl_main.dict - is the main dictionary file.\n"
"pl_user.dict - is the user dictionary file.\n"
"Text - is a drawer that contains the tutorial files.\n\n"
@copyfiles-help)
)
(complete 66)
;fix up the new drawers icon to not be "snapshot"
(tooltype
(dest PL_dest)
(noposition)
)
; the arp library is necessary for WB 1.3 users.
(set answer1
(askbool (choices "Copy Arp.Library" "Do not Copy Arp.Library")
(prompt "Do you need the Arp.Library? \"Select Help for information on Arp.\"")
(help
"AmigaDOS 1.2 and 1.3 do not have a standard system file "
"requester. The Arp.Library provides a standardized file "
"requester to PL. If you do not have the Arp.Library "
"file already installed, select Copy. If you are unsure "
"if you have it, select Copy. PL will not work with "
"AmigaDOS 1.2 or 1.3 without the Arp.Library file!\n"
"AmigaDOS 2.0 users should select Do not Copy.")
(default 1)
)
)
(if answer1
(copyfiles
(source "PLInstPgm:libs/arp.library")
(dest "LIBS:")
)
)
(complete 100)
;cleanup
(makeassign "PLInstPgm" (safe))
;done, so get out
(exit)